Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 1 - Appearance Manager Reference / Appearance Manager Types and Constants


Appearance-Compliant Menu Type Constants

NEW WITH THE APPEARANCE MANAGER

You can pass one of the following constants in the inMenuType parameter of GetThemeMenuBackgroundRegion and DrawThemeMenuBackground to specify menu type.

enum {
   kThemeMenuTypePullDown     = 0,
   kThemeMenuTypePopUp        = 1,
   kThemeMenuTypeHierarchical = 2
};
typedef SInt16 ThemeMenuType;

Constant descriptions

kThemeMenuTypePullDown
A pull-down menu.
kThemeMenuTypePopUp
A pop-up menu.
kThemeMenuTypeHierarchical
A hierarchical menu.
SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before using the ThemeMenuType type or the Appearance-compliant menu type constants. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998